package com.guomei.bean.curse.vo;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guomei.bean.User;
import com.guomei.bean.curse.Course;

import lombok.Data;


@Data
public class CourseDistributerRelVo {
    private Integer id;

    private Long distributerId;

    private Long courseId;

    private Long teacherId;

    private String code;

    private Short status;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updatedTime;

    /**
     * 分销比例(%)
     */
    private BigDecimal distributionRatio;


    // 招生老师
    private User distributor;

    private Course course;

}
